package org.celery.modules.goods.service.impl;

import org.celery.modules.goods.entity.GoodsCategory;
import org.celery.modules.goods.vo.GoodsCategoryVO;
import org.celery.modules.goods.mapper.GoodsCategoryMapper;
import org.celery.modules.goods.service.IGoodsCategoryService;
import org.springblade.core.mp.base.BaseServiceImpl;
import org.springframework.stereotype.Service;
import com.baomidou.mybatisplus.core.metadata.IPage;

/**
 * 商品类别表. 服务实现类
 *
 * @author luoqc
 * @since 2021-10-24
 */
@Service
public class GoodsCategoryServiceImpl extends BaseServiceImpl<GoodsCategoryMapper, GoodsCategory> implements IGoodsCategoryService {

	@Override
	public IPage<GoodsCategoryVO> selectGoodsCategoryPage(IPage<GoodsCategoryVO> page, GoodsCategoryVO goodsCategory) {
		return page.setRecords(baseMapper.selectGoodsCategoryPage(page, goodsCategory));
	}

}
